package cn.wolfcode.wolf2world.query;

import lombok.Getter;
import lombok.Setter;

/**
 * @author 杨兴健
 * @Date 2020/08/14 12:55
 */
@Getter
@Setter
public class TravelQueryObject extends QueryObject{
    private String destId;

    private Integer orderType;
    private Integer perExpendType;
    private Integer dayType;
    private Integer state;

    public QueryType getDayType() {

        return QueryType.DAY_MAP.get(this.dayType);
    }
    public QueryType getPerExpendType() {
        return QueryType.EXPEND_MAP.get(this.perExpendType);
    }

    public String getOrderType() {
        return QueryType.ORDER_MAP.get(this.orderType);
    }



}
